#ifndef LED_H
#define LED_H
#include "bs32f1xx_ll_gpio.h"

#define LED_1_PORT  GPIOB
#define LED_1_PIN   LL_GPIO_PIN_10



#define LED_B_PORT	GPIOA
#define LED_B_PIN   LL_GPIO_PIN_10

#define LED_G_PORT	GPIOA
#define LED_G_PIN   LL_GPIO_PIN_9

#define LED_R_PORT	GPIOA
#define LED_R_PIN   LL_GPIO_PIN_8

typedef enum{
	LED_1 = 0,
	LED_R,
	LED_G,
	LED_B,
	LED_ALL,
}led_type;


void led_init(void);
void led_control(led_type led,int8_t status);
#endif
